package com.zrwl.poscloud.xo.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zrwl.poscloud.base.entity.StudentScoreTotalDetail;
import com.zrwl.poscloud.base.superI.SuperMapper;
import com.zrwl.poscloud.xo.vo.StudentScoreTotalDetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 总分明细 Mapper类
 *
 * @author 刘思童 AutoGenerate
 * @date 2023-03-10
 */
public interface StudentScoreTotalDetailMapper extends SuperMapper<StudentScoreTotalDetail> {
    IPage<StudentScoreTotalDetailVO> getPageList(@Param("page") Page page, @Param("param") StudentScoreTotalDetailVO studentScoreTotalDetailVO);
    StudentScoreTotalDetail getTotalDetail(@Param("param") StudentScoreTotalDetailVO studentScoreTotalDetailVO);
    List<StudentScoreTotalDetail> generateRank(@Param("param") StudentScoreTotalDetailVO studentScoreTotalDetailVO);
    List<StudentScoreTotalDetailVO> generateRankTotalScore(@Param("param") StudentScoreTotalDetailVO studentScoreSubjectDetailVO);
}
